- 
		Home
	
- 
YayPricing – WooCommerce Dynamic Pricing & Discounts
- 
2.4.8
- 
Code
- 
Classes
-  YAYDP_Cart 
		
			
				
					
													
								
																			
											| Total Complexity | 27 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 28 | 
																	
							 
													
								
																			
											| Total lines | 193 | 
																			
											| Lines of code | 132 | 
																			
											| Logical lines of code | 65 | 
																	
							 
													
								
																			
											| Comment lines | 45 | 
																			
											| Methods | 9 | 
																			
											| Properties | 1 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 9
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| publish() | A | 45 | 7 | 45 | 
					
				| __construct() | S | 59 | 5 | 14 | 
					
				| add_item() | S | 54 | 4 | 22 | 
					
				| get_cart_subtotal() | S | 62 | 3 | 12 | 
					
				| get_cart_quantity() | S | 64 | 3 | 10 | 
					
				| reset_modifiers() | S | 74 | 2 | 5 | 
					
				| add_free_item() | S | 60 | 1 | 13 | 
					
				| get_items() | S | 69 | 1 | 8 | 
					
				| get_items_include_extra() | S | 82 | 1 | 3 |